
import Vuex from 'vuex'
import getters from '~/store/getters'
import mutations from '~/store/mutations'
import actions from '~/store/actions'
import avatar from '~/static/images/avatar.jpg'
const store = () => {
  return new Vuex.Store({
    state: {
      isLogin: false,
      avantar: avatar,
      innerHeight: 700
    },
    getters,
    mutations,
    actions
  })
}

export default store
